Kubio\Blocks\VideoBlock A

Total Complexity 60
Dependencies 1
Dependents 0
Total lines 327
Lines of code 265
Logical lines of code 131
Comment lines 0
Methods 18
Properties 3

Methods 18

Method Rating Maintainability Complexity Lines of code
generateInternalUrl()
A
56 9 17
generateYoutubeUrl()
S
47 6 35
generateVimeoUrl()
S
47 5 34
getFrontendScriptAttributes()
S
60 6 12
getInternalUrlAttributes()
S
57 5 16
getVideoParameters()
S
50 4 28
generateUrl()
S
63 4 11
convertExternalParamsToQueryString()
S
63 4 10
getShortcode()
S
60 3 13
kubio_video_shortcode()
S
56 2 19
mapPropsToElements()
S
53 1 26
kubio_html_embed_iframe()
S
73 2 4
getOuterClasses()
S
66 2 8
kubio_html_embed_video()
S
68 2 6
colorToHex()
S
66 2 8
getVimeoStartTime()
S
75 1 4
initInternalData()
S
70 1 6
computed()
S
68 1 8